package com.xuecheng.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.commons.model.dto.CompanyApproveDto;
import com.xuecheng.commons.model.dto.CompanyDto;
import com.xuecheng.commons.model.dto.CompanyListDto;
import com.xuecheng.commons.model.dto.PageRequest;
import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.system.domain.Company;

/**
 * <p>
 * 教育机构 服务类
 * </p>
 *
 * @author itheima
 * @since 2022-07-29
 */
public interface CompanyService extends IService<Company> {

    //机构资料提交
    ResponseResult saveCompany(CompanyDto dto);

    //机构/个人组织列表
    ResponseResult findCompanyPage(CompanyListDto dto, PageRequest params);

    //机构审核
    ResponseResult approve(CompanyApproveDto dto);
}
